package com.shop.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.admin.model.po.Admins;
import com.shop.admin.model.po.dto.AdminsDto;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author banxia
 * @since 2023-02-26
 */
public interface AdminsService extends IService<Admins> {

    //登录
    public String loginAdmins(String account,String password);

    //添加某个管理员
    public void addAdmins(AdminsDto adminsDto);

    //更新某个管理
    public void updateAdmins(AdminsDto adminsDto,Long id);

    //删除某个管理员
    public void removeAdmins(Long id);

    //查看所有的管理员
    public List<Admins> selectAdmins();

}
